/*获取eth*/
function getETHADDR(){
  return '0x'+Math.random().toString(15).substring(2,12).repeat(4)
}

// sct
var a = $
setInterval(function(){
  a(".invite-box .invite-vals").value= '0x'+Math.random().toString(15).substring(2,12).repeat(4)
    a(".invite-box .invite-btn").click()
    setTimeout(function(){
        console.log(a(".invite-box .invite-val").innerHTML )
        history.go(-1)
    },1000)
},2000)



TUBI

function getEle(id){
  return document.getElementById(id)
}
getEle('token').value = '0x'+Math.random().toString(15).substring(2,12).repeat(4)
$('.main-btn2').click()

$('#copy_code').val()

setInterval(function(){
  var eth_el = $('#token')
  var submit = $('.main-btn2')
      eth_el.val('0x'+Math.random().toString(15).substring(2,12).repeat(4))
      submit.click()
  setTimeout(function(){
    var code_el = $('#copy_code')
    console.log(code_el.val())
    history.go(-1)
  },3000)
},5000)
